//
//  OADSectionConfig.h
//  OASDK_Works
//
//  Created by ChenJie on 3/1/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OADCellConfig.h"

@interface OADSectionConfig : NSObject

@property (nonatomic, strong) NSMutableArray<OADCellConfig *> *cells;


- (OADCellConfig *)cellConfigAtIndex:(NSInteger)cellIndex;

/*
 * UITableViewDataSource
 */

- (NSInteger)numberOfRowsInSection;

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndex:(NSInteger)cellIndex;

/*
 * UITableViewDelegate
 */

- (CGFloat)heightForRowAtIndex:(NSInteger)cellIndex;

@end


